html,
body {
    overflow: hidden;
    padding: 20px;
    margin: 0;
    width: 100%;
    height: 100%;
    background: url("/assets/images/login_bg.jpg") no-repeat center center;
    background-size: cover;
}

.loginAndRegBox {
    width: 400px;
    height: 310px;
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.titleBox {
    width: 100%;
    height: 60px;
    background: url("/assets/images/login_title.png") no-repeat center center;
}

.layui-form {
    padding: 0 30px;
}

.links {
    display: flex;
    justify-content: flex-end;
}

.layui-form-item {
    position: relative;
}

.layui-icon {
    position: absolute;
    top: 10px;
    left: 10px;
}

.layui-input {
    padding-left: 35px;
}